/**
    弹窗样式
*/

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clearit {
    clear: both;
    height: 0;
    font-size: 0;
    overflow: hidden;
}

#alert {

    /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
    ::-webkit-scrollbar {
        width: 10px;
        /*滚动条宽度*/
        height: 100px;
        /*滚动条高度*/
    }

    /*定义滚动条轨道 内阴影+圆角*/
    ::-webkit-scrollbar-track {
        background: rgba(238, 238, 238, 1);
        border-radius: 5px;
    }

    /*定义滑块 内阴影+圆角*/
    ::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: rgba(209, 209, 209, 1);
    }

    .pop_close {
        position: absolute;
        top: 15px;
        right: 25px;
        width: 34px;
        height: 34px;
        background: url(../assets/image/icon_quxiao_normal.png) center no-repeat;
        background-size: contain;
        cursor: pointer;

        &:hover {
            background-image: url(../assets/image/icon_quxiao_selected.png);
        }
    }

    .pop_title {
        transition: none;
        @include fzcol(18px, $col_3, 1);
        font-weight: bold;
        @include font-text(center);
        line-height: 94px;
    }

    .pop_shade {
        @include fixedCom();
        background-color: rgba(55, 55, 55, .6);
        z-index: 100;
    }

    .pop {
        position: fixed;
        z-index: 101;
        margin: 120px 0 0;
        background-color: $col_f;
        border-radius: 4px;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    .pop_content {
        padding: 0 40px;
    }

    .com_input_item {
        position: relative;

        input {
            width: 100%;
            height: 40px;
            background: rgba(246, 246, 246, 1);

            border: 1px solid rgba(230, 230, 230, 1);
            border-radius: 4px;
            padding: 0 40px 0 15px;
            @include place(14px, rgba(153, 153, 153, 1));
            @include fzcol(14px, #333);
        }

        .input_box {
            position: relative;

            &.fl {
                width: 220px;
            }

            .loading_img {
                position: absolute;
                top: 10px;
                width: 20px;
                right: 10px;
            }
        }

        .input_lr {
            overflow: hidden;

            dt {
                float: left;
                width: 66px;
                line-height: 40px;
                font-size: 14px;
                
                font-weight: 500;
                color: rgba(51, 51, 51, 1);
            }

            dd {
                margin-left: 66px;
            }
        }

        .error {
            position: absolute;
            bottom: -23px;
            left: 15px;
            @include fzcol(12px, rgba(243, 38, 38, 1));

            img {
                width: 12px;
                height: 12px;
                margin-right: 6px;
                vertical-align: middle;
            }
        }
    }

    .pop_btn {
        background-color: #ddd;
        border-radius: 4px;
        width: 100%;
        height: 40px;
        cursor: not-allowed;
        display: block;
        line-height: 40px;
        text-align: center;

        &.curr {
            background: $col_main;
            cursor: pointer;

            &:hover {
                background-color: $col_main_active;
            }
        }

        &.noback {
            background-color: #fff;
            border: 1px solid rgba(230, 230, 230, 1);
            color: rgba(102, 102, 102, 1);
            cursor: pointer;
        }

        &.back {
            cursor: pointer;
        }

        @include fzcol(14px, rgba(255, 255, 255, 1));

        &.w100 {
            width: 100px;
        }
    }

    .register {
        transition: none;
        width: 420px;
        padding-bottom: 28px;

        .pop_title {
            transition: none;
            line-height: 74px;
        }

        .com_input_item {
            margin-bottom: 26px;

        }

        .com_button_item {
            .pop_btn {
                margin-top: 4px;
            }
        }

        .backLogin {
            @include fzcol(12px, rgba(153, 153, 153, 1));
            line-height: 1.5;
            margin: 10px 0 21px;
            text-align: right;

            em {
                color: rgba(77, 139, 232, 1);
                cursor: pointer;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        .partSmall {
            @include fzcol(12px, rgba(153, 153, 153, 1));
            margin-top: 29px;

            span {
                color: rgba(77, 139, 232, 1);
                cursor: pointer;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }

    .login {
        width: 420px;
        padding-bottom: 25px;

        .pop_title {
            transition: none;
            padding-top: 23px;
            line-height: 74px;
        }

        .com_input_item {
            margin-bottom: 40px;
        }

        .com_button_item {
            margin-top: 60px;
        }

        .login_small_item {
            margin-top: 60px;
            overflow: hidden;
            @include fzcol(12px, rgba(153, 153, 153, 1));

            .fl {
                cursor: pointer;
            }

            em {
                color: rgba(53, 116, 250, 1);
                cursor: pointer;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }

    .setZJPwd {
        width: 420px;
        padding-bottom: 45px;

        .com_input_item {
            margin-bottom: 26px;
        }

        .com_button_item {
            margin-top: 30px;
        }

        .com_font_item {
            @include fzcol(14px, rgba(102, 102, 102, 1));
            padding: 14px 0 24px 19px;
            line-height: 1;
        }
        .com_small_item{
            text-align: right;
            font-size: 12px;
            color: #999999;
            line-height: 1.5;
            margin-top: -15px;
            padding-bottom: 11px;
            span{
                color: $col_main;
                cursor: pointer;
                &:hover{
                    text-decoration: underline;
                }
            }
        }
    }

    .proDown {
        border-radius: 4px;
        width: 250px;
        height: 320px;
        overflow: hidden;

        h5 {
            text-align: center;
            line-height: 50px;
            background: rgba(53, 116, 250, 1);
            font-size: 16px;
          
            font-weight: 500;
            color: rgba(255, 255, 255, 1);
        }

        div {
            width: 189px;
            height: 189px;
            box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
            margin: 30px auto 12px;

            img {
                width: 100%;
                height: 100%;
                display: block;
            }
        }

        p {
            text-align: center;
            font-size: 14px;
            font-weight: 400;
            color: rgba(102, 102, 102, 1);
        }
    }

    .contractAttr {
        width: 500px;
        height: 740px;
        z-index: 100000;
        .title {
            padding: 30px 0 24px 0;
            line-height: 1;
            text-align: center;

            p {
                font-size: 18px;
           
                color: rgba(51, 51, 51, 1);
                margin-bottom: 10px;
            }

            span {
                font-size: 14px;
                color: rgba(153, 153, 153, 1);
            }
        }

        .pop_content {
            table {
                width: 100%;
                height: 575px;

                tr {
                    td {
                        font-size: 12px;
                        border: 1px solid rgba(230, 230, 230, 1);
                       
                        color: rgba(153, 153, 153, 1);
                        text-align: left;
                        padding-left: 20px;

                        &:last-child {
                            color: rgba(51, 51, 51, 1);
                            text-align: right;
                            padding: 0 20px 0 0;
                        }
                    }
                }
            }
        }

        .partSmall {
            margin-top: 30px;
        }
    }

    .partSmall {
        font-size: 12px;
        color: rgba(153, 153, 153, 1);
        text-align: center;
        line-height: 1;

        em {
            font-size: 16px;
            vertical-align: middle;
            color: rgba(239, 148, 41, 1);
        }
    }

    .addCardNews {
        width: 420px;
        padding-bottom: 15px;

        .com_input_item {
            margin-bottom: 20px;

            .error {
                bottom: -19px;
                left: 81px;
            }
        }

        .com_button_item {
            .pop_btn {
                margin: 50px 0 30px;
            }
        }
    }

    .pcSuccess {
        width: 300px;
        height: 420px;

        &.XDSuccess {
            min-height: 400px;
            padding-bottom: 40px;
            height: auto;
        }

        padding: 28px 40px 0;

        .head {
            line-height: 1;
            text-align: center;
            border-bottom: 1px solid rgba(230, 230, 230, 1);

            dt {
                img {
                    width: 50px;
                    height: 50px;
                    vertical-align: middle
                }

                p {
                    font-size: 12px;
                    font-weight: 400;
                    margin-top: 2px;
                    color: rgba(51, 51, 51, 1)
                }
            }

            dd {
                font-size: 30px;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                padding: 17px 0;

                &.part {
                    font-size: 18px;
                    padding: 10px 0 31px;
                }
            }
        }

        .show {
            line-height: 34px;
            font-size: 12px;
            font-weight: 400;
            color: rgba(153, 153, 153, 1);
            padding: 25px 0;

            li {
                overflow: hidden;

                span {
                    float: left;

                    &:last-child {
                        float: right;
                    }
                }
            }
        }

        .pop_btn {
            margin: 0 auto;
            width: 160px;

        }
    }

    .enterChoose {
        width: 300px;
        height: 240px;
        margin-top: 0;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);

        dl {
            padding: 34px 0 0 0;
            text-align: center;
            line-height: 1.5;

            dt {
                img {
                    width: 50px;
                    height: 50px;
                    vertical-align: middle
                }
            }

            dd {
                font-size: 16px;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                padding: 20px 0 36px;
            }
        }

        .pop_btn {
            margin: 0 auto;
            width: 160px;

        }
    }

    .enterChoose2 {
        width: 300px;
        height: 250px;
        margin-top: 0;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;

        dl {
            padding: 30px 0 0 0;
            line-height: 1.5;

            dt {
                img {
                    width: 50px;
                    height: 50px;
                    vertical-align: middle
                }
            }

            dd {
                font-weight: 400;
                padding: 16px 0 26px;

                p {
                    font-size: 16px;
                    color: rgba(51, 51, 51, 1);
                    margin-bottom: 6px;
                }

                span {
                    font-size: 12px;
                    color: rgba(153, 153, 153, 1);
                }
            }
        }

        .pop_btn {
            width: 100px;
            display: inline-block;
            vertical-align: middle;
            margin: 0 10px;
        }
    }

    .yzZJPWd {
        width: 320px;
        height: 250px;

        padding: 50px 40px 0;
        text-align: center;
        
        input {
            height: 50px;
            background: rgba(242, 243, 248, 1);
            border: 1px solid rgba(221, 221, 221, 1);
            border-radius: 4px;
            text-align: center;
            width: 100%;
            display: block;
            letter-spacing: 2px;
        }
        
        p {
            line-height: 1.5;
            font-size: 16px;
           
            font-weight: 500;
            color: rgba(51, 51, 51, 1);
            margin: 15px 0 35px;
        }

        .pop_btn {
            width: 100px;
            display: inline-block;
            vertical-align: middle;
            margin: 0 10px;
        }
    }

    .pc {
        width: 360px;
        height: 360px;

        .pop_btn {
            width: 160px;
            display: block;
            height: 36px;
            line-height: 36px;
            margin: 45px auto 0;
        }

        .pc_cont {
            padding: 0 40px;
            font-size: 14px;
            
            font-weight: 500;
            color: rgba(51, 51, 51, 1);
            line-height: 30px;
            margin-top: -10px;

            dl {
                overflow: hidden;
                margin-bottom: 15px;

                dt,
                dd {
                    float: left;
                }

                dt {
                    margin-right: 12px;
                }

                dd {
                    color: rgba(153, 153, 153, 1);
                }
            }

            .clearfix {
                dt {
                    word-spacing: 25px;
                    color: rgba(153, 153, 153, 1);
                }
            }
        }
    }

    .fitzyzs {
        width: 320px;
        height: 330px;

        .cont {
            padding: 0 40px;

            dl {
                overflow: hidden;

                dt {
                    float: left;
                    font-size: 14px;
                    line-height: 30px;
                    font-weight: 400;
                    color: rgba(51, 51, 51, 1);
                }

                dd {
                    margin-left: 44px;
                }
            }

            >p {
                font-size: 12px;
                padding: 7px 0 16px;
                line-height: 1.5;
                font-weight: 400;
                color: rgba(170, 170, 170, 1);
                text-align: right;
            }
        }

        .pop_btn {
            width: 160px;

            height: 36px;
            line-height: 36px;
            margin: 19px auto 0;
        }
    }

    .riskWarning {
        transition: none;
        width: 640px;
        height: 800px;
        margin-top: 80px;
        overflow: hidden;
        font-size: 14px;
 
        font-weight: 400;
        color: rgba(153, 153, 153, 1);
        line-height: 28px;

        p {
            font-size: 14px;
           
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
            line-height: 24px;
            margin: 12px 0 4px;
        }

        .riskWarning_cont {
            height: 650px;
            margin-top: -20px;
            padding: 0 45px;
            overflow-y: auto;
        }

        ul {
            margin-top: 10px;
            line-height: 24px;
        }

        .pop_btn {
            display: block;
            width: 160px;
            margin: 50px auto;
        }
    }

    .freeDeclaration {
        width: 640px;
        height: 800px;
        margin-top: 80px;

        .freeDeclaration_cont {
            height: 650px;
            padding: 0 45px;
            overflow-y: auto;
            margin-top: -10px;
        }

        p {
            font-size: 14px;
           
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
            line-height: 28px;
            margin: 6px 0;
        }

        .pop_btn {
            display: block;
            width: 160px;
            margin: 50px auto;
        }
    }

    .privacyPolicy {
        transition:none;
        width: 640px;
        padding: 0 45px 60px;
        margin-top: 80px;
        min-height: 500px;
        p {
            font-size: 14px;
          
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
            line-height: 28px;

        }

        ul {
           padding:  5px 0 2px 0;
            font-size: 14px;
            
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
            line-height: 28px;
            
            li {
                margin: 11px 0  ;

            }
        }

        .pop_btn {
            display: block;
            width: 160px;
            margin: 57px auto 0;
        }
    }
}

.countNumber {
    overflow: hidden;

    em,
    input {
        float: left;
    }

    em {
        width: 28px;
        height: 28px;
        background: rgba(221, 221, 221, 1);
        border-radius: 4px;
        @include fzcol(26px, rgba(255, 255, 255, 1));
        margin-top: 1px;
        cursor: pointer;
        position: relative;

        img {
            width: 14px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
        }

        &:first-child {
            img {
                width: 12px;
            }
        }

        &:hover {
            background-color: $col_main;
        }
    }

    input {
        width: 120px;
        height: 30px;
        border: 1px solid rgba(214, 214, 214, 1);
        border-radius: 4px;
        line-height: 1;
        margin: 0 10px;
        text-align: center;
        padding: 0 15px;
        box-shadow: none;
        @include fzcol(12px, rgba(51, 51, 51, 1));
        @include place(12px, rgba(153, 153, 153, 1));
    }
}

.pop_radio {
    .pop_radio_item {
        position: relative;
        display: inline-block;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 1px solid #777777;
    }

    &.curr {
        .pop_radio_item {
            &::after {
                position: absolute;
                top: 3px;
                left: 3px;
                display: block;
                content: '';
                width: 6px;
                height: 6px;
                background-color: #3574FA;
                border-radius: 50%;
            }
        }
    }
}

.pop_imgYzm {
    width: 100px;
    height: 40px;
    cursor: pointer;
}

.scale-enter-active {
    transition: all 0.2s;
}

.scale-enter
/* .fade-leave-active below version 2.1.8 */
    {
    opacity: 0;
    transform: translateX(-50%) scale(.5) !important;
}


.shade-enter-active, .shade-leave-active {
    transition: opacity .15s linear;
  }
  .shade-enter, .shade-leave-to /* .fade-leave-active below version 2.1.8 */ {
    opacity: 0;
  }

  .slateY-enter-active, .slateY-leave-active {
    transition: all .3s ease-out;
  }
  .slateY-enter, .slateY-leave-to /* .fade-leave-active below version 2.1.8 */ {
   margin-top: 0!important;
  }

.ivu-btn-primary {
    background-color: $col_main;
    border-color: $col_main;

    &:hover {
        background-color: $col_main_active;
        border-color: $col_main_active;
    }
}

.ivu-btn-text {
    &:hover {
        color: $col_main_active;
    }
}

.pageUserStyle {
    position: absolute;
    right: 10px;
    bottom: 40px;

    .ivu-page-item {
        margin: 0 10px;
        border: 0;
        min-width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 14px;
        border-radius: 0;

        a {
            color: rgba(127, 127, 127, 1);
            margin: 0 4px;

            &:hover {
                color: rgba(53, 115, 250, 1);
            }
        }
    }

    .ivu-page-item-active {
        background-color: $col_main;

        a {
            color: #fff;

            &:hover {
                color: #fff;
            }
        }
    }

    .ivu-icon {
        color: rgba(102, 102, 102, 1);
        font-size: 18px;

        &:hover {
            color: rgba(53, 115, 250, 1);
        }
    }

    .ivu-page-disabled {
        .ivu-icon {
            color: rgba(221, 221, 221, 1);

            &:hover {
                color: #fff;
            }
        }
    }

    .ivu-page-next,
    .ivu-page-prev {
        border: 0;
    }
}

.demo-spin-icon-load {
    animation: ani-demo-spin 1s linear infinite;
}

@keyframes ani-demo-spin {
    from {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.demo-spin-col {
    height: 100px;
    position: relative;
    border: 1px solid #eee;
}


.com_loading{
    color: transparent!important;
    position: relative;
    cursor: not-allowed!important;
    &::after{
        animation: spinAround .5s infinite linear;
        border: 2px solid #dbdbdb;
        border-radius: 290486px;
        border-right-color: transparent;
        border-top-color: transparent;
        border-color: transparent transparent #fff #fff!important;
        content: "";
        display: block;
        height: 16px;
        position: relative;
        width: 16px;
        left: 50%;
        margin-left: -8px;
        margin-top: -8px;
        position: absolute;
        top: 50%;
        position: absolute!important;
    }
  
}
@keyframes spinAround {
    from {
      transform: rotate(0deg); }
    to {
      transform: rotate(359deg); } 
    }


    //   .chart-page{
    //       background-color: red!important;
    //   }
    //   #widget-container{
    //       border: 1px solid red!important;
    //   }